package com.mcxx.modules.miniSalvation.family.service.read;

import com.mcxx.modules.miniSalvation.family.entity.FamilyMainTempEntity;
import com.mcxx.modules.miniSalvation.family.dao.read.FamilyMainTempReadDao;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@TaTransactional(readOnly = true)
public class FamilyMainTempReadService {

    @Autowired
    private FamilyMainTempReadDao familyMainTempReadDao;


    public List<FamilyMainTempEntity> listAll() {
    	return familyMainTempReadDao.listAll();
    }



    public FamilyMainTempEntity getById(String id) {
    	return familyMainTempReadDao.getById(id);
    }

}
